package com.adam.management.service;

import com.adam.management.pojo.User;

import java.util.List;

public interface UserService  {
    public User getAll();

    public User findByNameAndPassWord(User user);

    public User findByName(User user);

    public void createUser(User user);

    public void updateUser(User user);

    public List<User> findAll();

    public List<User> findAllByPage(int currentPage,int pageSize,User search);

    public int count(User search);

    public void delete(int id);

    public User findById(int id);
}
